<?php
class CmsAuthForm extends Zend_Form {
	
	public function __construct($login_value = null) {
		parent::__construct();
		$this->setAction('');
		$this->setMethod('POST');

		$login = new Zend_Form_Element_Text('login');
		$login->setValue($login_value)->setLabel('Имя пользователя');
		$this->addElement($login);
		
		$pass = new Zend_Form_Element_Password('pass');
		$pass->setLabel('Пароль');
		$this->addElement($pass);
		
		$enter = new Zend_Form_Element_Submit('auth');
		$enter->setLabel('Войти');
		$this->addElement($enter);
		
	}
}
?>